Crate shared

source ·
Expand description

§Shared module

The shared module contains code that is shared between the different parts of the SAP interpreter. This includes the error data structures, the span module, and the output module.

Modules§

  • This module contains the error handling code for the interpreter. It provides the Error struct, which is used to represent errors that occur during execution.
  • Contains the Span struct, which represents a span of characters in the source code.

Macros§

  • A macro to create a new error with a kind and a message.
  • Identical to the print! macro.
  • Identical to the println! macro.